import { defHttp } from '/@/utils/http/axios';

enum Api {
  BaseApi = '/sys/properties',
}

/**
 * @description: 获取登录认证的配置信息
 */
export const getAuthProperties = () => {
  return defHttp.post({ url: Api.BaseApi + '/auth' }, { encrypt: false });
};

/**
 * @description: 获取通讯加密的配置信息
 */
export const getEncryptProperties = () => {
  return defHttp.post({ url: Api.BaseApi + '/encrypt' }, { encrypt: false });
};
